package com.wn.icloud.provider.demo.remote.fallback;

import com.wn.icloud.provider.demo.dto.DemoFeignDTO;
import com.wn.icloud.provider.demo.remote.DemoFeignApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author: zhq
 * @datetime: 2020/4/24 20:26
 * @description: TODO
 */
@Slf4j
@Service
public class DemoFeignFallBack implements DemoFeignApi{

    @Override
    public DemoFeignDTO getDemos(Integer id) {
        log.error("远程调用{}异常{}", "getDemos", id);
        return null;
    }
}
